Using AI Features in Reverse and Forward Engineering

erwin DM offers AI-powered data modeling that enhances reverse engineering and forward engineering. You can use AI to validate DDL scripts, generate models, and perform script checks, which reduces manual effort and improves accuracy. You can also review the AI Terms of Use and provide feedback to improve future results.

You can use AI features in multiple ways:

  • AI Generate: Generate scripts automatically based on the descriptions you provide.

  • AI Validate: Validate scripts with AI assistance to identify errors and receive suggestions for improvement.

  • AI Prompt Input: Customize script generation by entering natural language prompts to guide the AI.

  • AI Terms of Use: View the terms and conditions for using AI-powered features in erwin DM.

  • Provide Feedback: Share feedback on AI-generated scripts to help improve future results.

Prerequisites

Ensure that the following prerequisites are in place:

  • Access to erwin Mart Portal

  • AI Credentials: AI License Key, Client Id, and Client Secret

Workflow

The AI workflow for Reverse and Forward Engineering includes the following steps:

  1. Enable AI using erwin Mart Portal Licensing

  2. Use AI Options in Reverse Engineering

  3. Use AI Options in Forward Engineering

Enabling AI Using erwin Mart Portal Licensing

To use AI features, you need to configure a license using AI credentials through erwin Mart Portal and ensure that erwin DM is connected to the erwin Mart Portal.

To enable AI features, follow these steps:

  1. Go to Application Menu > Settings > General.

    The General page appears.

  2. Scroll to the DM AI Credentials field.

  3. Enter your AI License Key, Client Id, and Client Secret in the appropriate fields.

  4. Click Save.

    Your AI credentials are saved, and AI features are enabled in erwin DM.

Using AI Options in Reverse Engineering

You can generate and validate scripts during the Reverse Engineering process with the help of AI options. This topic walks you through using AI options for MongoDB in RE as an example. Similarly, you can use these steps for other databases. This process involves the following steps:

Using AI Options in Forward Engineering

You can validate scripts during the forward Engineering process with the help of AI option. This topic walks you through using AI Validate for MongoDB in FE as an example. Similarly, you can use these steps for other databases. This process involves the following steps: